from typing import List


def find_palindromes(s: str) -> List[str]:
    """
    找出字符串中所有的回文字符串
    """
    palindromes = []
    for i in range(len(s)):
        for j in range(i+1, len(s)+1):
            if s[i:j] == s[i:j][::-1] and j>i+1:
                palindromes.append(s[i:j])
    return palindromes


if __name__ == "__main__":
    s = "abbacbab"
    print(find_palindromes(s))
